<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_search
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>
<style>
a{ text-decoration:none;}
#jcl_component .jcl_center{ text-align:center; }
#jcl_component .jcal_categories{
	background-color: #F9F9F9;
    border-top: 1px solid #FFFFFF;
    color: #333333;
    padding: 3px 11px;
	width:98.5%;
	float:left;
}
#jcl_component .jcal_categories h3{
	color: #606F79;
    font-size: 12px;
    line-height: 30px;
	margin: 0;
    text-align: left;
}
#jcl_component .jcal_category{
	width:22%;
	float: left;
    margin-bottom: 4px;
}
#jcl_component .jcal_category .jcal_category_color{
	border: 1px solid #FFFFFF;
    float: left;
    height: 18px;
    margin-right: 4px;
    width: 20px;
}
#jcl_component .jcal_category .jcal_category_title{
	text-align:left;
}
.searchpage{
	background: #E4E8E8;
    color: #606F79;
    font-size: 11px;
    font-weight: bold;
    height: auto;
    line-height: 26px;
    padding: 8px 12px 8px 8px;
	width:98.5%;
	float:left;
	text-align:left;
}
.searchpage fieldset{
	border:none;
}
.searchpage #searchForm fieldset.word{
	padding:0;
	margin:0;
}
.searchpage #searchForm fieldset.word .inputbox, .searchpage #searchForm fieldset.word .button{
	font-size:11px;
	color:#606F79;
}
.search-results a{
	font-size:12px;
	color:#606F79;
	text-decoration:underline;
}
#jcl_component .jcl_subtitlebar{
	background: url(<?php echo $this->baseurl ?>/templates/wmc/images/tile_back1.gif) repeat-x scroll 0 0 transparent;
    color: #606F79;
    font-size: 11px;
    font-weight: bold;
    height: 26px;
    line-height: 26px;
    padding: 8px 12px 8px 8px;
	width:98.5%;
	float:left;
}
#jcl_component .jcl_left{text-align:left; width:auto; float:left;}
#jcl_component .jcl_right{text-align:right;width:auto; float:right;}
#jcl_component a.logobottom{
	width:100%;
	height:auto;
	float:left;
	text-align:center;
}
.form-limit{display:none;}
</style>
<div id="jcl_component">
<div class="jcl_month">
<div class="jcl_center">
<div class="jcl_mainview">
<?php
echo $this->loadTemplate('menutop');
echo $this->loadTemplate('categories_item');
?>
<div class="jcl_subtitlebar">
	<div class="jcl_left"><?php echo JText::_('Search events'); ?></div>
    <div class="jcl_right"><?php echo date("l, F j, Y");?></div>
	<div class="jcl_clear"><!--  --></div>
</div>
<div class="searchpage<?php echo $this->pageclass_sfx; ?>">
<?php if ($this->params->get('show_page_heading')) : ?>
<h1>
	<?php if ($this->escape($this->params->get('page_heading'))) :?>
		<?php echo $this->escape($this->params->get('page_heading')); ?>
	<?php else : ?>
		<?php echo $this->escape($this->params->get('page_title')); ?>
	<?php endif; ?>
</h1>
<?php endif; ?>

<?php echo $this->loadTemplate('form'); ?>
<?php if ($this->error==null && count($this->results) > 0) :
	echo $this->loadTemplate('results');
else :
	echo $this->loadTemplate('error');
endif; ?>
</div>
</div>
</div>
</div>
<a class="logobottom" href="http://wmcvietnam.com/calendar" title="Return Home Page">
	<div class="atomic powered_by"></div>
</a>
</div>